import request from '@/utils/request'

// 获取文章分类列表
export const getCateAPI = () => request.get('/my/cate/list')

// 添加文章分类
export const addCateAPI = data => request.post('/my/cate/add', data)

// 删除文章列表
export const delCateAPI = id => request.delete('/my/cate/del', { params: { id } })

// 修改文章列表
export const editCateAPI = data => request.put('/my/cate/info', data)
